package day17.homework;

public class test5 {

    public static void main(String[] args) {

        Shape rectangle = new Rectangle("red", 2.0,3.0);
        Shape circle = new Circle("blue", 5);
        System.out.println(rectangle.getColor());
        System.out.println("Area：" + rectangle.area());
        System.out.println();
        System.out.println(circle.getColor());
        System.out.println("Area：" + circle.area());
        
    }
}
